<?php

/**
 * This file is part of the People Of Walmart block for Moodle.
 * Copyright (C) 2009-2010 <anonymousmoodler@gmail.com>
 * 
 * The People Of Walmart block is distributed under the terms of the GNU
 * General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version. You should
 * have received a copy of the GNU General Public License along with the People
 * Of Walmart block. If not, see <http://www.gnu.org/licenses/>.
 */

function xmldb_block_peopleofwalmart_upgrade($oldversion=0)
{
    include_once(dirname(__FILE__).'/../../moodleblock.class.php');
    include_once(dirname(__FILE__).'/../block_peopleofwalmart.php');

    $blockobj = new block_peopleofwalmart;

    $blockobj->update_cache();

    return TRUE;
}

?>